from django.contrib import admin
from django.urls import path
from .views import *
app_name='news'
urlpatterns=[
    path('index/',Index.as_view(),name='index'),
    path('add/',Add.as_view(),name='add'),
    path('delete/<int:id>',Deletnew.as_view(),name='deletnew'),
    path('update/<int:u_id>',Updat.as_view(),name='update')
]